package project.service.impl;

import project.dao.GradeDao;
import project.dao.impl.GradeDaoImpl;
import project.entity.Grade;
import project.service.GradeService;

import java.util.List;

/*
杨威
2021/9/16
11:53
*/
public class GradeServiceImpl implements GradeService {
    GradeDao gradeDao=new GradeDaoImpl();

    @Override
    public List<Grade> selectAllGrade() {
        List<Grade> grades = gradeDao.selectAll();
        return  grades;
    }
}

